<template>
	<view class="tea-pay-app">

		<view class="info">
			<view class="money"><text style="font-size:50upx;">下单成功</text></view>
		</view>
		<view class="submit-button" @click="back">
			返回首页
		</view>
	</view>
</template>

<script>
	import util from '@/libs/util.js'
	import globalConfig from '../../../config'
	const baseHttp = globalConfig.API_HOST
		
	export default {
	    data() {
	        return {
				baseHttp: baseHttp,
				teaHouseId: '',
				
	        }
	    },
		onLoad(params) {
			//this.back();
		},
		onShow() {

		},
		components: {
			
		},
		computed: {

		},
	    methods: {
			...util,
			back() {
				uni.reLaunch({url: '/pages/tea/v2/index'})
				/*
				uni.switchTab({
				    url: '/pages/tea/v2/map',
				    success: function(e) {
						
				        var page = getCurrentPages().pop();
				        if (page == undefined || page == null) return;
				        page.onLoad();
						
				    }
				});
				*/
			},
			goPage(url) {
				
			},
	    }
	}
</script>



<style lang="scss">
	button {
		margin: 0;
		padding: 0;
		outline: none;
		border-radius: 0;
		background-color: transparent;
		line-height: inherit;
		border: none !important;
	}
	
	page{
		height: 100%;
	}
	
	.page-section,.page-body,.tea-manager-app{
		height: 100%;
	}

	.tea-pay-app{
		background-color: #F5F4F8;
		height: 100%;
		color:#707070;
		
		.info-item{
			background-color: white;
			display: flex;
			padding: 37upx;
			font-size:28upx;
			border-bottom: 1upx solid #eee;
			.icon{
				
			}
			.value{
				margin-left:20upx;
			}
		}
		
		.info{
			height:217upx;
			text-align: center;
			/*line-height: 217upx;*/
			background-color: white;
			margin:30upx 0;
			.money{
				font-weight: bold;
				font-size: 100upx;
			}
		}
		
		.submit-button{
			font-size:40upx;
			margin:0 auto;
			background-color:$uni-theme-color;
			color:white;
			width:600upx;
			height:80upx;
			text-align: center;
			line-height: 80upx;
			border-radius: 40rpx;
		}
		
	}
	
</style>

